﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Reflection;
using IDAL;
using Model;

namespace BLL
{
    public class TPIMTestItem 
    {
        private static readonly ITPIMTestItem dal = DALFactory.DataAccess.CreateTPIMTestItem();

        public IList<TPIMTestItemInfo> GetTPIMTestItembySNDT(string productSN, DateTime recordTime)
        {
            return dal.GetTPIMTestItembySNDT(productSN, recordTime);
        }

        public IList<TPIMTestItemInfo> GetTPIMTestItembySN(string productSN)
        {
            return dal.GetTPIMTestItembySN(productSN);
        }
    }
}
